package com.github.byakkili.bim.core;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * @author Guannian Li
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class Constants {

    public static final String LOCALHOST = "127.0.0.1";

    public static final int DEFAULT_IO_THREADS = Math.min(Runtime.getRuntime().availableProcessors() + 1, 32);

    public static final String DEFAULT_THREAD_NAME = "B-IM";

    public static final int DEFAULT_CORE_THREADS = 0;

    public static final int DEFAULT_THREADS = 200;

    public static final int DEFAULT_QUEUES = 0;
}
